﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using ExtendPropertyLib.WPF;
using ExtendPropertyLib;

namespace WPFCanvas.CustomControls
{
    [DisplayName("查询节点")]
    public class QueryNodeInfo : BaseNodeInfo
    {
        
        public static ExtendProperty TextProperty = RegisterProperty<QueryNodeInfo>(t => t.Text);
        
        [Category("属性")]
        [DisplayName("文本")]
        public string Text
        {
            set { SetValue(TextProperty, value); }
            get { return (string)GetValue(TextProperty); }
        }

        public static ExtendProperty RemarkProperty = RegisterProperty<QueryNodeInfo>(t => t.Remark);
        [Category("属性")]
        [DisplayName("备注")]
        public string Remark
        {
            set { SetValue(RemarkProperty, value); }
            get { return (string)GetValue(RemarkProperty); }
        }

        public static ExtendProperty RegIDProperty = RegisterProperty<QueryNodeInfo>(t => t.RegID);
        [Browsable(false)]
        public string RegID
        {
            set { SetValue(RegIDProperty, value); }
            get { return (string)GetValue(RegIDProperty); }
        }
       



    }
}
